package com.phrp.dao;

import com.phrp.entity.ManagerUser;
import com.phrp.entity.vo.ManagerUserSearchDataVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedList;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ssc
 * @since 2024-04-20
 */
@Mapper
public interface ManagerUserDao extends BaseMapper<ManagerUser> {
    Integer updateByPhone(ManagerUser managerUser);

    ManagerUser getByPhone(String phone);

    LinkedList<ManagerUser> selectBySearchData(ManagerUserSearchDataVo searchData);

    Integer selectTotalBySearchData(ManagerUserSearchDataVo searchData);

    int updatePwdById(@Param("id") String id,@Param("password") String password);

    int updateInspectionNumberById(@Param("mUuid") String mUuid,@Param("type") String type);

}
